<?php
   $this->widget('application.extensions.mbmenu.MbMenu',array(
			'items'=>array(
				   array('label'=>'Login', 'url'=>array('site/login'), 'visible'=>Yii::app()->user->isGuest),
				   array('label'=>'Logout ('.Yii::app()->user->name.')', 'url'=>array('site/logout'), 'visible'=>!Yii::app()->user->isGuest),
                                   array('label'=>'Conversas Recentes','visible'=>!Yii::app()->user->isGuest, 'linkOptions' => array( 'class' => 'menulink' ),
                                         'items'=>$menu_users,
                                   ),
                                   array('label'=>'Editar Postagens', 'url'=>array('post/myupdate'), 'visible'=>!Yii::app()->user->isGuest),
                                   array('label'=>'Editar Comentários', 'url'=>array('comment/myupdate'), 'visible'=>!Yii::app()->user->isGuest),
 		),
   ));?>
